#include "common.h"
#include "class.h"
#include "data_structure.h"

void check_mouse_state(Frog &frog, std::set<color_t> color_set, bool &lbutton_down, std::list<Ball_free> &balls_shoot);
void draw_objects(Frog &frog, std::deque<Point> &balls_map, std::list<Ball_free> &balls_shoot, Balls_list &balls_list);
void draw_balls(std::list<Ball_free> &balls_shoot);
void draw_map(std::deque<Point> &balls_map);
void balls_move(std::list<Ball_free> &balls_shoot);
void balls_out_screen(std::list<Ball_free> &balls_shoot);
void create_map_line(std::deque<Point> &balls_map, int x1, int y1, int x2, int y2, bool show);
void add_map_angle(std::deque<Point> &balls_map);
Point create_point(int x, int y, bool show);
void game_end(bool win);
void game_start(void);
